package lxs.tool.liberator.work.service;

import lxs.tool.liberator.common.base.result.Response;

import java.sql.SQLException;

/**
 * @author liberator
 * @date /d
 * @email 3451743380@qq.com
 */
public interface ClassService {
    Response showTable();

    Response getOptions();

    Response getMeta() throws SQLException;

    Response clear(String className) throws SQLException;

    Response updateJavaName(String name, String id);

    Response updateIdColumn(String idColumn, String id);

    Response updateCount(String id) throws SQLException;

    Response buildData(String classId, Integer count) throws Exception;
}
